<template>
  <RouterView v-slot="{ Component }">
    <transition name="fade">
      <component :is="Component" />
    </transition>
  </RouterView>
</template>

<script lang="ts" setup></script>

<style scoped lang="scss">
.fade-enter-from {
  opacity: 0;
  //transform: scale(0);
}
.fade-enter-active {
  transition: all 3s ease;
}
.fade-enter-to {
  opacity: 1;
  //transform: scale(1);
}
</style>
